# core/api.py
from ninja import NinjaAPI

from core.routers import router as core_router
from monitor.routers import router as monitor_router


api: NinjaAPI = NinjaAPI()

# 服务核心 API
api.add_router("/core", core_router)
# 性能指标 API
api.add_router("/monitor", monitor_router)
